package com.micro.service;

import com.micro.controller.Request.MessageRequest;
import com.micro.entity.Message;

import java.util.List;

public interface MessageService {
    void saveTrainTicketMessage(MessageRequest request);

    List<Message> getMessagesByUserAndType(String username, int type);
}
